.expanding-foo, .parent-expand-foo {
  background-color: coral;
}

.expanding-bar, .parent-expand-bar {
  background-color: aqua;
}